From: Florian Müllner Date: Tue, 5 Oct 2021 13:05:18 +0000 (+0200) Subject: welcomeDialog: Fix title translation X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~557^2^2~34 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=7f77b6f054013e235c88df60163317ab2c7e8c9b;p=gnome-shell.git welcomeDialog: Fix title translation Translators translate the format string ('... GNOME %s'), not the substituted one ('... GNOME 41'). https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4669 Part-of: --- diff --git a/js/ui/welcomeDialog.js b/js/ui/welcomeDialog.js index cf6540fe2..9d99f0035 100644 --- a/js/ui/welcomeDialog.js +++ b/js/ui/welcomeDialog.js @@ -33,7 +33,7 @@ class WelcomeDialog extends ModalDialog.ModalDialog { _buildLayout() { const [majorVersion] = Config.PACKAGE_VERSION.split('.'); - const title = _('Welcome to GNOME %s'.format(majorVersion)); + const title = _('Welcome to GNOME %s').format(majorVersion); const description = _('If you want to learn your way around, check out the tour.'); const content = new Dialog.MessageDialogContent({ title, description });